import { request } from "@/utils/http";

export const requestDetailList=(skuId)=>{
    return request.get("/api/item/"+ skuId)
}
export const requestAddCarOrUpdate = ({skuId,skuNum})=>{
    return request.post(`/api/cart/addToCart/${skuId} /${skuNum}`)
}